.class public abstract Lcom/waiqin365/base/calendar/a/a/f;
.super Ljava/lang/Object;


# instance fields
.field protected final a:Ljava/util/Calendar;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/calendar/a/a/f;->a:Ljava/util/Calendar;

    return-void
.end method


# virtual methods
.method public a(I)Z
    .locals 1

    rem-int/lit8 v0, p1, 0x4

    if-nez v0, :cond_0

    rem-int/lit8 v0, p1, 0x64

    if-nez v0, :cond_1

    :cond_0
    rem-int/lit16 v0, p1, 0x190

    if-nez v0, :cond_2

    :cond_1
    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_2
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public abstract a(II)[[Ljava/lang/String;
.end method

.method public abstract b(II)Ljava/util/Set;
.end method

.method public c(III)Z
    .locals 7

    const/4 v6, 0x5

    const/4 v5, 0x2

    const/4 v0, 0x1

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v1

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v2

    add-int/lit8 v3, p2, -0x1

    invoke-virtual {v1, p1, v3, p3}, Ljava/util/Calendar;->set(III)V

    invoke-virtual {v1, v0}, Ljava/util/Calendar;->get(I)I

    move-result v3

    invoke-virtual {v2, v0}, Ljava/util/Calendar;->get(I)I

    move-result v4

    if-ne v3, v4, :cond_0

    invoke-virtual {v1, v5}, Ljava/util/Calendar;->get(I)I

    move-result v3

    invoke-virtual {v2, v5}, Ljava/util/Calendar;->get(I)I

    move-result v4

    if-ne v3, v4, :cond_0

    invoke-virtual {v1, v6}, Ljava/util/Calendar;->get(I)I

    move-result v1

    invoke-virtual {v2, v6}, Ljava/util/Calendar;->get(I)I

    move-result v2

    if-ne v1, v2, :cond_0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public c(II)[[Ljava/lang/String;
    .locals 12

    iget-object v0, p0, Lcom/waiqin365/base/calendar/a/a/f;->a:Ljava/util/Calendar;

    invoke-virtual {v0}, Ljava/util/Calendar;->clear()V

    const/4 v0, 0x6

    const/4 v1, 0x7

    filled-new-array {v0, v1}, [I

    move-result-object v0

    const-class v1, Ljava/lang/String;

    invoke-static {v1, v0}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [[Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/base/calendar/a/a/f;->a:Ljava/util/Calendar;

    add-int/lit8 v2, p2, -0x1

    const/4 v3, 0x1

    invoke-virtual {v1, p1, v2, v3}, Ljava/util/Calendar;->set(III)V

    add-int/lit8 v1, p2, -0x1

    if-nez v1, :cond_7

    add-int/lit8 v2, p1, -0x1

    const/16 v1, 0xc

    :goto_0
    add-int/lit8 v3, p2, 0x1

    const/16 v4, 0xd

    if-ne v3, v4, :cond_0

    add-int/lit8 v3, p1, 0x1

    :cond_0
    invoke-virtual {p0, p1, p2}, Lcom/waiqin365/base/calendar/a/a/f;->d(II)I

    move-result v6

    invoke-virtual {p0, v2, v1}, Lcom/waiqin365/base/calendar/a/a/f;->d(II)I

    move-result v3

    iget-object v1, p0, Lcom/waiqin365/base/calendar/a/a/f;->a:Ljava/util/Calendar;

    const/4 v2, 0x7

    invoke-virtual {v1, v2}, Ljava/util/Calendar;->get(I)I

    move-result v1

    add-int/lit8 v7, v1, -0x1

    const/4 v4, 0x1

    const/4 v2, 0x1

    const/4 v1, 0x0

    move v5, v1

    :goto_1
    const/4 v1, 0x6

    if-ge v5, v1, :cond_6

    const/4 v1, 0x0

    move v11, v1

    move v1, v2

    move v2, v3

    move v3, v4

    move v4, v11

    :goto_2
    const/4 v8, 0x7

    if-ge v4, v8, :cond_5

    aget-object v8, v0, v5

    const-string/jumbo v9, ""

    aput-object v9, v8, v4

    if-nez v5, :cond_3

    if-lt v4, v7, :cond_2

    aget-object v8, v0, v5

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v10, ""

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    aput-object v9, v8, v4

    add-int/lit8 v3, v3, 0x1

    :cond_1
    :goto_3
    add-int/lit8 v4, v4, 0x1

    goto :goto_2

    :cond_2
    aget-object v8, v0, v5

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v10, ""

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    sub-int v10, v2, v7

    add-int/lit8 v10, v10, 0x1

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    aput-object v9, v8, v4

    add-int/lit8 v2, v2, 0x1

    goto :goto_3

    :cond_3
    if-lez v5, :cond_1

    if-gt v3, v6, :cond_4

    aget-object v8, v0, v5

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v10, ""

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    aput-object v9, v8, v4

    add-int/lit8 v3, v3, 0x1

    goto :goto_3

    :cond_4
    aget-object v8, v0, v5

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v10, ""

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    aput-object v9, v8, v4

    add-int/lit8 v1, v1, 0x1

    goto :goto_3

    :cond_5
    add-int/lit8 v4, v5, 0x1

    move v5, v4

    move v4, v3

    move v3, v2

    move v2, v1

    goto/16 :goto_1

    :cond_6
    return-object v0

    :cond_7
    move v2, p1

    goto/16 :goto_0
.end method

.method public d(II)I
    .locals 2

    const/4 v0, 0x0

    const/4 v1, 0x1

    if-eq p2, v1, :cond_0

    const/4 v1, 0x3

    if-eq p2, v1, :cond_0

    const/4 v1, 0x5

    if-eq p2, v1, :cond_0

    const/4 v1, 0x7

    if-eq p2, v1, :cond_0

    const/16 v1, 0x8

    if-eq p2, v1, :cond_0

    const/16 v1, 0xa

    if-eq p2, v1, :cond_0

    const/16 v1, 0xc

    if-ne p2, v1, :cond_2

    :cond_0
    const/16 v0, 0x1f

    :cond_1
    :goto_0
    return v0

    :cond_2
    const/4 v1, 0x4

    if-eq p2, v1, :cond_3

    const/4 v1, 0x6

    if-eq p2, v1, :cond_3

    const/16 v1, 0x9

    if-eq p2, v1, :cond_3

    const/16 v1, 0xb

    if-ne p2, v1, :cond_4

    :cond_3
    const/16 v0, 0x1e

    goto :goto_0

    :cond_4
    const/4 v1, 0x2

    if-ne p2, v1, :cond_1

    invoke-virtual {p0, p1}, Lcom/waiqin365/base/calendar/a/a/f;->a(I)Z

    move-result v0

    if-eqz v0, :cond_5

    const/16 v0, 0x1d

    goto :goto_0

    :cond_5
    const/16 v0, 0x1c

    goto :goto_0
.end method

.method protected d(III)J
    .locals 4

    add-int/lit8 v0, p2, 0x9

    rem-int/lit8 v0, v0, 0xc

    div-int/lit8 v1, v0, 0xa

    sub-int v1, p1, v1

    mul-int/lit16 v2, v1, 0x16d

    div-int/lit8 v3, v1, 0x4

    add-int/2addr v2, v3

    div-int/lit8 v3, v1, 0x64

    sub-int/2addr v2, v3

    div-int/lit16 v1, v1, 0x190

    add-int/2addr v1, v2

    mul-int/lit16 v0, v0, 0x132

    add-int/lit8 v0, v0, 0x5

    div-int/lit8 v0, v0, 0xa

    add-int/2addr v0, v1

    add-int/lit8 v1, p3, -0x1

    add-int/2addr v0, v1

    int-to-long v0, v0

    return-wide v0
.end method

.method protected e(III)I
    .locals 1

    const/4 v0, 0x1

    shl-int/2addr v0, p2

    add-int/lit8 v0, v0, -0x1

    shl-int/2addr v0, p3

    and-int/2addr v0, p1

    shr-int/2addr v0, p3

    return v0
.end method

.method public e(II)Ljava/util/Set;
    .locals 5

    const/4 v4, 0x7

    const/4 v3, 0x1

    new-instance v0, Ljava/util/HashSet;

    invoke-direct {v0}, Ljava/util/HashSet;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/base/calendar/a/a/f;->a:Ljava/util/Calendar;

    invoke-virtual {v1}, Ljava/util/Calendar;->clear()V

    iget-object v1, p0, Lcom/waiqin365/base/calendar/a/a/f;->a:Ljava/util/Calendar;

    add-int/lit8 v2, p2, -0x1

    invoke-virtual {v1, p1, v2, v3}, Ljava/util/Calendar;->set(III)V

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/base/calendar/a/a/f;->a:Ljava/util/Calendar;

    invoke-virtual {v1, v4}, Ljava/util/Calendar;->get(I)I

    move-result v1

    if-eq v1, v4, :cond_1

    if-ne v1, v3, :cond_2

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/base/calendar/a/a/f;->a:Ljava/util/Calendar;

    const/4 v2, 0x5

    invoke-virtual {v1, v2}, Ljava/util/Calendar;->get(I)I

    move-result v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/base/calendar/a/a/f;->a:Ljava/util/Calendar;

    const/4 v2, 0x6

    invoke-virtual {v1, v2, v3}, Ljava/util/Calendar;->add(II)V

    iget-object v1, p0, Lcom/waiqin365/base/calendar/a/a/f;->a:Ljava/util/Calendar;

    const/4 v2, 0x2

    invoke-virtual {v1, v2}, Ljava/util/Calendar;->get(I)I

    move-result v1

    add-int/lit8 v2, p2, -0x1

    if-eq v1, v2, :cond_0

    return-object v0
.end method
